<%@ page contentType="text/html; charset=UTF-8" language="java" import="java.util.*,com.util.*" errorPage="/error.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<script language="javascript">
	var City = new Array(
new Array("合肥-合肥","芜湖-芜湖","蚌埠-蚌埠","巢湖-巢湖","滁州-滁州","淮南-淮南","安庆-安庆","池州-池州","宣城-宣城","马鞍山-马鞍山","黄山-黄山","铜陵-铜陵","宿州-宿州","淮北-淮北","阜阳-阜阳","其它-其它"),
new Array("北京-北京","其它-其它"),
new Array("重庆-重庆","其它-其它"),
new Array("福州-福州","泉州-泉州","三明-三明","漳州-漳州","南平-南平","宁德-宁德","龙岩-龙岩","莆田-莆田","厦门-厦门","其它-其它"),
new Array("兰州-兰州","其它-其它"),
new Array("广州-广州","深圳-深圳","佛山-佛山","中山-中山","江门-江门","惠州-惠州","东莞-东莞","汕头-汕头","湛江-湛江","茂名-10","肇庆-11","韶关-12","阳江-13","珠海-14","其它-其它"),
new Array("南宁-南宁","桂林-桂林","柳州-柳州","其它-其它"),
new Array("贵阳-贵阳","其它-其它"),
new Array("海口-海口","三亚-三亚","其它-其它"),
new Array("石家庄-石家庄","邯郸-邯郸","秦皇岛-秦皇岛","唐山-唐山","沧州-沧州","廊坊-廊坊","保定-保定","张家口-张家口","邢台-邢台","其它-其它"),
new Array("哈尔滨-哈尔滨","大庆-鸡西","鸡西-鸡西","齐齐哈尔-齐齐哈尔","佳木斯-佳木斯","牡丹江-牡丹江","其它-其它"),
new Array("郑州-郑州","洛阳-洛阳","其它-其它"),
new Array("杭州-杭州","嘉兴-嘉兴","温州-温州","义乌-义乌","宁波-宁波","湖州-湖州","绍兴-绍兴","台州-台州","丽水-丽水","金华-金华","衢州-衢州","舟山-舟山","其它-其它"),
new Array("武汉-武汉","襄樊-襄樊","宜昌-宜昌","荆州-荆州","黄石-黄石","荆门-荆门","十堰-十堰","潜江-潜江","仙桃-仙桃","其它-其它"),
new Array("长沙-长沙","株州-株州","岳阳-岳阳","常德-常德","湘潭-湘潭","娄底-娄底","怀化-怀化","永州-永州","衡阳-衡阳","邵阳-邵阳","郴州-郴州","益阳-益阳","张家界-张家界","吉首-吉首","其它-其它"),
new Array("呼和浩特-呼和浩特","其它-其它"),
new Array("南京-南京","无锡-无锡","镇江-镇江","南通-南通","扬州-扬州","盐城-盐城","徐州-徐州","淮阴-淮阴","连云港-连云港","常州-常州","泰州-泰州","苏州-苏州","其它-其它"),
new Array("南昌-南昌","九江-九江","其它-其它"),
new Array("长春-长春","吉林-吉林","四平-四平","延吉-延吉","松原-松原","白山-白山","通化-通化","其它-其它"),
new Array("沈阳-沈阳","大连-大连","金州-金州","瓦房店-瓦房店","庄河-庄河","阜新-阜新","辽阳-辽阳","丹东-丹东","营口-营口","盘锦-盘锦","抚顺-抚顺","本溪-本溪","鞍山-鞍山","锦州-锦州","葫芦岛-葫芦岛","铁岭-铁岭","朝阳-朝阳","其它-其它"),
new Array("银川-银川","其它-其它"),
new Array("西宁-西宁","其它-其它"),
new Array("太原-太原","大同-大同","其它-其它"),
new Array("西安-西安","咸阳-咸阳","宝鸡-宝鸡","汉中-汉中","其它-其它"),
new Array("济南-济南","青岛-青岛","日照-日照","东营-东营","潍坊-潍坊","泰安-泰安","淄博-淄博","烟台-烟台","威海-威海","济宁-济宁","滨州-滨州","临沂-临沂","其它-其它"),
new Array("上海-上海","其它-其它"),
new Array("成都-成都","泸州-泸州","德阳-德阳","乐山-乐山","绵阳-绵阳","宜宾-宜宾","自贡-自贡","攀枝花-攀枝花","内江-内江","南充-南充","其它-其它"),
new Array("天津-天津","其它-其它"),
new Array("拉萨-拉萨","其它-其它"),
new Array("乌鲁木齐-乌鲁木齐","昌吉-昌吉","伊宁-伊宁","其它-其它"),
new Array("昆明-昆明","大理-大理","其它-其它"),
new Array("香港-香港"),
new Array("澳门-澳门"),
new Array("台湾-台湾"),
new Array("其他-其他")
);
function changecity(){
 index = infoForm.Province.options.selectedIndex-1;
 infoForm.City.length = City[index].length;
 for(var i = 0;i<City[index].length;i++)
  {
   var text = City[index][i].split("-");
   infoForm.City.options[i].text = text[0];
   infoForm.City.options[i].value =text[0];
  }
}
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>注册</title>
<LINK 
href="/css/style.css" type=text/css rel=stylesheet>
</head>
	<body>
		<form action="/reg" method="post" name="infoForm" id=" infoForm" onSubmit="return Validator.Validate(this,3)">
			<label>
	<select name="Province" onchange="changecity()" >
    <OPTION value="" selected>==选择所在省份==</OPTION>
                          <OPTION value="安徽">安徽</OPTION>
                          <OPTION value="北京">北京</OPTION>
                          <OPTION value="重庆">重庆</OPTION>
                          <OPTION value="福建">福建</OPTION>
                          <OPTION value="甘肃">甘肃</OPTION>
                          <OPTION value="广东">广东</OPTION>
                          <OPTION value="广西">广西</OPTION>
                          <OPTION value="贵州">贵州</OPTION>
                          <OPTION value="海南">海南</OPTION>
                          <OPTION value="河北">河北</OPTION>
                          <OPTION value="黑龙江">黑龙江</OPTION>
                          <OPTION value="河南">河南</OPTION>
                          <OPTION value="浙江">浙江</OPTION>
                          <OPTION value="湖北">湖北</OPTION>
                          <OPTION value="湖南">湖南</OPTION>
                          <OPTION value="内蒙古">内蒙古</OPTION>
                          <OPTION value="江苏">江苏</OPTION>
                          <OPTION value="江西">江西</OPTION>
                          <OPTION value="吉林">吉林</OPTION>
                          <OPTION value="辽宁">辽宁</OPTION>
                          <OPTION value="宁夏">宁夏</OPTION>
                          <OPTION value="青海">青海</OPTION>
                          <OPTION value="山西">山西</OPTION>
                          <OPTION value="陕西">陕西</OPTION>
                          <OPTION value="山东">山东</OPTION>
                          <OPTION value="上海">上海</OPTION>
                          <OPTION value="四川">四川</OPTION>
                          <OPTION value="天津">天津</OPTION>
                          <OPTION value="西藏">西藏</OPTION>
                          <OPTION value="新疆">新疆</OPTION>
                          <OPTION value="云南">云南</OPTION>
                          <OPTION value="香港">香港</OPTION>
                          <OPTION value="澳门">澳门</OPTION>
                          <OPTION value="台湾">台湾</OPTION>
    </SELECT>
        <SELECT name="City">
                        <OPTION  selected>==所在城市==</OPTION>
    </SELECT>
    </label>
    </form>
  </body>
</html>